package enum1;


import enum2.A;
import enum2.B;

public class Test2 {

    public static void main(String[] args) {
        provideInfo(C.BOY);
        System.out.println(A.X);


        B b = new B();
        System.out.println(b.String());

        System.out.println(B.address);
    }
    public static void provideInfo(C sex){
        switch (sex){
            case BOY :
                System.out.println("BOY");
                break;

            case GIRL :
                System.out.println("GIRL");
                break;
        }
    }
}
